// post请求，获取菜单

// get请求，获取菜单，注意：get请求的配置等，都在第二个参数中，详见前面解释
export const getreplacementList = (data) => uni.$uv.http.get('/api/replacement/replacementAuditList', {params:data})
export const replacementAudit = (data) => uni.$uv.http.post('/api/replacement/replacementAudit', data)
export const replacementDetail = (id) => uni.$uv.http.post('/api/replacement/replacementDetail', {params:{id}})

export const getaddressBook = (id) => uni.$uv.http.post('/api/user/addressBook', {params:{company_id:id}})
export const getMyCompanyList = (id) => uni.$uv.http.get('/api/common/getMyCompanyList', {params:{company_id:id}})
export const deleteUser = (id) => uni.$uv.http.get('/api/user/deleteUser', {params:{user_id:id}})
export const updateUserInfo = (params) => uni.$uv.http.get('/api/user/updateUserInfo', {params})
export const createUser = (params) => uni.$uv.http.get('/api/user/createUser', {params})
export const getDepartmentList = (id) => uni.$uv.http.get('/api/common/getDepartmentList', {})
